package com.examsystem.Const;


/**
 *
 * @author fire'ge
 */
public class ConstMsg {

/**
 * 数字常量区
 */
    public static final int STATUS_CODE = 200 ;

    public static final int NUMBER_1 = 1;

    public static final int NUMBER_2 = 2;


    public static final int MAX_DATA_NUM = 5;

    public static final String STUDENT_RIGHT_CODE = "1";

    public static final String TEACHER_RIGHT_CODE = "2";

    /**
     * 信息常量区
     */

    public static final String ADD_SUCCESS_MSG = "密码或者用户名错误，请重新输入";

    public static final String LOGOUT_SUCCESS_MSG = "注销成功";

    public static final String AUTO_SUBMIT_MSG = "没有创建自动交卷";

    public static final String ADD_ANSWER_FAIL_MSG = "添加答案失败，请重试";

    public static final String GET_ANSWER_FAIL_MSG = "获取不到答案";

    public static final String GET_PAPER_CLASS_FAIL_MSG = "获取不到该班考试时间";

    public static final String GET_PAPER_QUESTION_FAIL_MSG = "获取不到该试卷问题的试题的id";

    public static final String ADD_UP_NULL_MSG = "传入的数据为空";

    public static final String CHECK_MSG_FAIL_MSG = "所传入的数据中用户或者是数据不存在";

    public static final String ADD_UP_FAIL_MSG = "提交数据库失败,请重试";

    public static final String USER_NONE_MSG = "用户不存在";

    public static final String MSG_NULL_MSG = "获取到的数据不存在";

    public static final String PHONE_NUM_FAIL_MSG = "用户输入的电话号码格式不正确";

    public static final String SUBMIT_SUCCESS_MSG = "提交成功";

    public static final String SUBMIT_CLASS_FAIL_MSG = "传入班级信息不存在";

    public static final String SET_CLASS_FAIL_MSG = "加入班级成功";

    /**
     * 字段字符串常量区
     */


    public static final String KEY_PARAM = "?paperListId=1";
    public static final String TOKEN_PARAM = "token";
    public static final String LOGIN_USER_PARAM = "login:user";
    public static final String PAPER_PARAM = "paper:";
    public static final String USER_PARAM = "user:";
    public static final String USER_PARAM2 = "user";
    public static final String IMG_PARAM = "img";
    public static final String SERVICE_PARAM = "47.115.228.195:80/images/";
}
